package demo.sicua.votesystem.controller;

import demo.sicua.votesystem.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @RestController ： 将类装载到Javabean里面去
 */
@RestController   //@Controller+@ResponseBody
@RequestMapping("/admin")
public class Admincontroller extends Usercontroller{

    @Autowired
    private AdminService adminService;



}
